import request from '../utils/request';

export const getCategoryList = () => { 
    return request.get('/stick/category/select');
}

export const addCategory = (data) => {
    return request.post('/stick/category', data);
}

export const updateCategory = (data) => {
    return request.put('/stick/category', data);
}

export const deleteCategory = (id) => {
    return request.delete('/stick/category?id=' + id);
}